package com.atlige.gzmall.member.feign;

import com.atlige.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author: Jeremy lI
 * @description:
 * @date: created in 2021/7/11 22:29
 */
@FeignClient("gzmall-order")
public interface OrderFeignService {
    /**
     * 查询当前登录用户的所有订单信息
     * @param params
     * @return
     */
    @PostMapping("/order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);
}
